﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Component
{
    [Serializable]
    public class RectangleX
    {
        public const int LineCount = 4;
        public const int PointCount = 4;
        float x;
        float y;
        float width;
        float height;
        Line[] lines;
        Color color;
        int size;



        public RectangleX(float x,float y,float width,float heigh)
        {
            this.x = x;
            this.y = y;
            this.width = width;
            this.height = heigh;
        }

        public Line[] Lines { get => lines; set => lines = value; }
        public Color Color { get => color; set => color = value; }
        public int Size { get => size; set => size = value; }
        public float X { get => x; set => x = value; }
        public float Y { get => y; set => y = value; }
        public float Width { get => width; set => width = value; }
        public float Height { get => height; set => height = value; }
    }
}
